<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>全部评论</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="{{url('css/main.css')}}" type="text/css" rel="stylesheet"/>
    <script src="{{url('js/jquery.js')}}" type="text/javascript"></script>
</head>

<body style=" background-color:#f3f4f6;">
<div style=" padding-left:10px; padding-right:10px; background-color:#f0f0f0; border-bottom:solid 1px #e3e3e5;">
    <div class="mypoint">
        <img style=" padding-top:6px; padding-right:5px;" src="{{url('images/pic_messages.png')}}" width="30">
        <a class="mycoins">全部评论</a>
        <a class="btn_leavemessage" href="{{url('wx/comment')}}">发言</a>
    </div>
</div>

<ul>

    @foreach ($comments as $comment)
    <li style=" background-color:white;">
        <div style=" padding:10px;">
            <div class="box_message_contant">
                <a class="box_head"><img src="{{$comment['headimgurl']}}" width="50"></a>
                <a class="p_name">{{$comment['nickname']}}</a>
                <a class="p_date">{{$comment['created_at']}}</a>
                <p>{{$comment['content']}}</p>
                @if ($comment['is_admin'] !== '')
                <a class="p_answer"><span style=" color:#f3b200;">吉云网络科技：</span><br>
                    {{$comment['is_admin']}}</a>
                @endif
            </div>
        </div>
        <div class="cutline"></div>
    </li>
    @endforeach

</ul>

</body>
</html>
